package com.soupinabox;

/**
 * ItemReference.java
 * <p/>
 * Author:  Taw
 * Date:    4/21/14
 */
public class ItemReference {
    public Item item;
    public ItemReference(Item item){
        this.item=item;
    }
    public boolean equals(Object o){
        if(o instanceof Item){
            return ((Item)o).index==item.index;
        }
        return o==this;
    }
}
